<?php

namespace App\Exceptions;

use Exception;

use Symfony\Component\HttpKernel\Exception\HttpException;

class CustomException extends HttpException
{
    public function __construct(string $message, $code = 1, int $status_code = 202)
    {
        parent::__construct($status_code, $message, null, [], $code);
    }
}
